﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainSite.Master" AutoEventWireup="true" CodeBehind="SurveyCreateForm_old.aspx.cs" Inherits="BSCMFF.Web.Pages.Surveys.SurveyCreateForm" %>



<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">


    <script src="../../JS/jquery-1.6.1.js" type="text/javascript"></script>
    <script src="../../JS/jquery-ui-1.8.13.custom.min.js" type="text/javascript"></script>
    <script src="../../JS/jQuery-form.js" type="text/javascript"></script>
    <script src="../../JS/jquery-dynamic-form.js" type="text/javascript"></script>
<script src="../../JS/myDynamicQuestionnaire.js" type="text/javascript"></script>

<script type="text/javascript">
    $(function () {
        $("#sortable").sortable();
    });
	</script>


<form id="formQuestionnaire" action="">
    
    <div id="alll">
        <h1>Questionaire</h1>
        <bsc:SurveyDetails ID="SD" runat="server" ></bsc:SurveyDetails>
        <fieldset>
            <ul id="sortable">   
                <li  id="Question" class="ui-state-default">
                    <div >
                        <input id="TextBoxQuestion" name="TextBoxQuestion" type="text"  style="width:500px" />
                        <div id="Answers" style="right:20px;top:5px" >
                            <div id="Answer">
                                <input id="RadioButtonAnswer" name="RadioButtonAnswer" type="radio" disabled="disabled" />
                                <input id="TextBoxAnswer" name="TextBoxAnswer" type="text" />
                            </div>
                            <span id="ButtonsAnswer" style="display:none">
                                <a id="removeAnswer" href="">[-]</a> 
                                <a id="addAnswer" href=""  >[+]</a>
                            </span>
                        </div>
                    </div>
                </li>
            </ul>
            <p style="display:none"><span><a id="removeQuestion" href="">[-]</a> 
            <a id="addQuestion" href="" class="QuestionClass"  visible="false">[+]</a></span></p>
        </fieldset>    
    </div>
    </form>
    <input id="submitButton" name="submitButton" value="Submit"
type="button"  />

    <telerik:RadButton id="RadButtonSubmit" runat="server" Text="Submit" ></telerik:RadButton>
     <fieldset>
      <legend>Results</legend>
      <div id="console"></div>
    </fieldset>


</asp:Content>
